//
//  ZXGetPhoto.m
//  BLACKSTONE
//
//  Created by fly-zhang on 16/11/2.
//  Copyright (c) 2016年 IMT. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef void(^SelectArrayPhoto)(NSArray *photoArray);

@class ZXGetPhoto;
@protocol ZXGetPhotoDelegate <NSObject>

@optional
- (void)wFPhoto:(ZXGetPhoto *)wfPhoto sendPicture:(UIImage *)image;
- (void)wFPhotoDidCancel:(ZXGetPhoto *)wfPhoto;

@end

@interface ZXGetPhoto : NSObject

@property (nonatomic,assign) BOOL isAllowEdit;  //是否可以编辑图片,默认NO


+ (ZXGetPhoto *)getPhotoManageWithDelegate:(UIViewController<ZXGetPhotoDelegate> *)delegate;


//  张翔 照片多选
@property (nonatomic,assign)NSInteger maxcount;
@property (nonatomic,assign)NSInteger remaincount;
@property (nonatomic,assign)BOOL is_morePhoto;
@property (nonatomic,copy)SelectArrayPhoto selectArrayPhoto;
@end


